load("@io_bazel_rules_go//go:def.bzl", "go_library")

package(default_visibility = ["//visibility:public"])

go_library(
    name = "descriptor",
    srcs = [
        "grpc_api_configuration.go",
        "grpc_api_service.go",
        "registry.go",
        "services.go",
        "types.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor",
    importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor",
    deps = [
        "//vendor/github.com/ghodss/yaml",
        "//vendor/github.com/golang/glog",
        "//vendor/github.com/golang/protobuf/jsonpb",
        "//vendor/github.com/golang/protobuf/proto",
        "//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor",
        "//vendor/github.com/golang/protobuf/protoc-gen-go/plugin",
        "//vendor/github.com/grpc-ecosystem/grpc-gateway/internal/casing",
        "//vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/httprule",
        "//vendor/google.golang.org/genproto/googleapis/api/annotations",
    ],
)
